package com.healthshare.busi.share;

import com.healthshare.parse.RetCodeParse;
import com.palmedia.framework.business.BaseBusi;
import com.palmedia.framework.myinterface.UiCallBack;
import com.palmedia.framework.parse.BaseParse;
/**
 * @author xudeliang
 * 收藏、分享、评论
 */
public class CollectBusi extends BaseBusi
{

	//请求路径：/collect/collect? channeltype=0&contentid=11220
	private  String  tail = "collect/collect.php?";
	
	
	public String channeltype = "";
	
	/*该字段只有健康问答才能使用，0表示不
	 * 公开给其他用户看，1表示公开给其他用户看。*/
	public int contentid = 0;
	
	
	public CollectBusi(UiCallBack bCallBack)
	{
		super(bCallBack);
	}
	
	public void iExecute()
    {
		reqParam = tail+"channeltype="+channeltype+"&contentid="+contentid;
		
    	super.iExecute();
    }
	
	@Override
	protected BaseParse parseResult(byte[] data)
	{
		// TODO Auto-generated method stub
		RetCodeParse	ls = new RetCodeParse();
		ls.Parse(data);
		return ls;
	}
	
	
	
}
